<!DOCTYPE html>
<html>
	<head>
		<jsp:include page="../include/meta1.jsp" />
		<title>股期宝-股票行情</title>
		<style>
			body, html{width: 100%; min-width: 1200px; background-color: #ffffff;font-family: "微软雅黑"; margin:0; padding:0; border: 0}
			*{margin: 0;  padding: 0; list-style: none;}
			input:focus{ outline:none ; }
			button{cursor: pointer;}
			.container{width: 1200px; margin: 0 auto;}
			.banner{ width: 100%;min-width: 1200px;  height: 660px;}
			/*.banner{ width: 100%; position: relative; height: 600px; background: url(resources/images/banner.png)top center no-repeat;background-size: 1920px 600px;}*/
			.headercon{ width: 100%; height: 80px; background: #ffffff;}
			.header{width: 1200px;position: relative; height: 80px;line-height: 80px; color: #565656; margin: 0 auto;}
			.logoImg{position: absolute; left: 0px; display:inline-block; height: 80px; line-height: 80px;}
			.headerList{width: 820px; margin-left:340px;height: 80px; line-height: 80px;}
			.headerList ul li{float: left; display: block; padding: 0px 20px; cursor: pointer; }
			.headerList ul li:hover{background-color: #dc0000; color: #FFFFFF;}
			.headerList ul li:hover a{color: #FFFFFF;}
			.headerList ul li:last-child:hover { background-color: #FFFFFF; color: #777777;}
			.headerList ul li a{ color: #565656;}
			.headerList ul li:last-child:hover a{ color: #777777;}
			.headerList ul li:nth-child(1){ padding: 0px 25px;}
			.headerList ul .active{background-color: #dc0000; color: #FFFFFF;}
			.headerList ul .active a{color: #FFFFFF;}
			.headerList ul li:last-child() a{ color: #777777; padding-top: -5px;}
			.headerIphone img{margin-right: 7px; vertical-align: middle; margin-top: -5px;}
			.clear{clear: both;}
			.headerIphone{width:200px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;}
			.headerList ul{margin-bottom:0px;}
			#demo{height: 660px;}
			.carousel-indicators li{width: 11px; height: 11px; border-radius: 11px; cursor:pointer; border: 1px solid #ccc; box-shadow: 1px 1px 1px 1px #ccc;}
			.carousel-indicators .active{width: 10px; height: 10px; border-radius: 10px; background-color: #fcff00; border: none;box-shadow: 1px 1px 1px 1px #ccc;}
			.carousel-indicators{ bottom: 0px;}
		    /* Make the image fully responsive */
	
			/*right-------------------------------------*/
			.btn-right{width: 65px; height: 185px; position: fixed; right:0px; border:1px solid #CCCCCC; top: 50%; margin-top: -90px; z-index: 999999; background-color: #FFFFFF; }
			.btn-right ul{ margin-top: 0;}
			.btn-right ul li{width: 65px; cursor: pointer; height: 62px; line-height: 60px; text-align: center; margin: 0 auto; border-top: 1px solid #e7e7e7; margin: 0px; position: relative;}
			.btn-right ul li:hover{ background-color: #3a3a3a;}
			.btn-right ul li:nth-child(1){ border-top: 0px;}
			.right-con{display: none;}
			.right-iphone{width: 225px; height: 61px; line-height: 61px; background-color: #3a3a3a; margin-left: -225px; font-size: 32px; color: #FFFFFF; margin-top: -60px;}
			.right-code{width: 200px;  height: 185px; line-height: 177px; background-color: #3a3a3a; margin-left: -200px;  margin-top: -60px;}
			.right-code img{ width: 145px; height: 145px;}
			.btn-right2{width: 200px; height: 540px; position: fixed; right:0px; border-radius: 10px; top: 50%; margin-top: -270px; right: 120px; z-index: 9; }
			.btn-right2 .right2Con1{ width: 200px; height: 250px; border-radius: 10px;  background: url(resources/images/rightcon2.png); background-repeat: no-repeat; background-size: 100% 100%;}
			.right2Con1 input, .right2Con2 input{ width: 160px; font-size: 14px; height: 36px; margin-left: 20px; border:1px solid #DDDDDD; padding-left: 10px; line-height: 36px; border-radius: 5px; margin-bottom: 15px;}
			.right2Con1 input:nth-child(1){ margin-top: 82px;}
			.right2Con1 button{ width: 160px; font-weight: 600; height: 38px; margin-left: 20px; background-color: #f00404; border: 0px; border-radius: 5px; color: #fffcd3; font-size: 22px;}
			.right2Con2 input:nth-child(1){ margin-top: 82px;}
			.right2Con2{ width: 200px; height: 250px; margin-top: 30px; border-radius: 10px;  background: url(resources/images/rightCon3.png); background-repeat: no-repeat; background-size: 100% 100%;}
			.right2Con2 button{ width: 160px; height: 38px; margin-left: 20px; background-color: #ffe827; border: 0px; border-radius: 5px; color: #b40a0a; font-weight: 600; font-size: 22px;}
			.con6{ width: 100%; height: 265px; background-color: #d60b0b; }
			.con6tent{  color: #FFFFFF; width: 1200px; height: 230px; margin: 0 auto;padding-top: 50px;}
			.con6tent1, .con6tent2, .con6tent3{float: left;}
			.con6tent1{ width: 210px; height: 150px; text-align: center;}
			.con6tent2{width: 380px; height: 150px;     padding-top: 10px;}
			.con6tent p{font-size: 18px;}
			.con6tent2 p:nth-child(1){margin: 0px; padding-top: 10px; font-weight: 600;}
			.con6tent2 p:nth-child(2){ font-size: 36px; font-weight: 600; margin: 0px;}
			.con6tent3{width: 600px; height: 150px;  padding-top: 25px;}
			.con6tent3 span{ font-size: 18px; padding-right: 40px;}
			.con6tent3 p{ font-size: 15px;}
			.con6tent1 img { width: 140px; height: 140px;}
			.con6Bottom{width: 100%; height: 35px; line-height: 35px; font-size: 15px; background-color: #c11919; color: #FFFFFF; text-align: center;}
			
			.con1{ width: 100%; height: 360px;background: url(resources/images/Companyprofile/Companyprofile.png)top center no-repeat;background-size: 1920px 360px;}
			.con2{width: 1200px;  margin: 0 auto; margin-top: 35px; margin-bottom: 100px;}
			.con2Left{width: 195px; height: 335px;  border: 1px solid #DDDDDD; float: left; text-align: center;}
			.con2Left h5{ width: 120px; font-size: 22px; color: #404040;  height: 70px; line-height: 70px; border-bottom: 1px solid #DDDDDD; margin: 0 auto; }
			.con2Left ul li{ width: 100px; cursor: pointer; height: 32px; font-size: 18px; line-height: 32px; color: #404040; margin: 0 auto; margin-top: 10px;}
			.con2Left ul li a{color: #404040;}
			.con2Left ul li:nth-child(1){ margin-top: 18px;}
			.con2Left ul li:hover{background-color: #dc0000; color: #FFFFFF;}
			.con2Left ul li:hover a{color: #FFFFFF;}
			.con2Left ul .active{ background-color: #dc0000; color: #FFFFFF;}
			.con2Left ul .active a{color: #FFFFFF;}
			.con2Right{ width: 985px; height: auto; float: left; margin-left: 20px;}
			.con2Right .p-tit{ width: 100%; height: 40px; border-bottom: 1px solid #DDDDDD; position: relative;}
			.p-tit .span-tit{ font-size: 22px; color: #b00000;}
			.accessPath{ position: absolute; right: 0px; top: 5px; color: #6e6e6e;}
			.accessPath span{ cursor: pointer;}
			.accessPath span:last-child{color: #404040;}
			.con2Rightcon1{width: 980px;  padding: 30px 0px;}
			.con2Rightcon1 .contextTit{ height: 30px; line-height: 30px; color: #3a3a3a; font-size: 22px; margin-top: 25px; margin-bottom: 22px;}
			.con2Rightcon1 p{font-size: 18px; color: #3c3c3c;  margin-bottom: 0px;line-height: 30px;}
			
			.informationContainer{ width:100%; }
			.informationContainer li{ width: 100%; height: 140px; margin-bottom: 30px; position: relative; padding-left: 258px;}
			.informationContainer li img{ position: absolute; left: 0px; top: 0px; width: 238px; height: 135px; border:1px solid #DDDDDD;}
			.informationContainer .p-tit2{ color: #3a3a3a; font-size: 18px; line-height: 30px;}
			.p-tit2 a{ color: #3a3a3a;}
			.informationContainer .p-data2{ width: 98px; border-bottom: 1px solid #DDDDDD; color: #5d5d5d; line-height: 30px;}
			.informationContainer .p-txt2{overflow : hidden; font-size: 16px; color: #5c5c5c; margin-top: 10px;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
			</style>
		<script type="text/javascript">
			$(function(){
				$(".btn-right li").hover(function(){
							var _index = $(this).index();
						if(_index == 0){
							$(".btn-right li").eq(0).find("img").attr("src","resources/images/right1.png");
							$(".btn-right li").eq(1).find("img").attr("src","resources/images/right22.png");
							$(".btn-right li").eq(2).children(":first").attr("src","resources/images/right33.png");
						}
						if(_index == 1){
							$(".btn-right li").eq(0).find("img").attr("src","resources/images/right11.png");
							$(".btn-right li").eq(1).find("img").attr("src","resources/images/right2.png");
							$(".btn-right li").eq(2).children(":first").attr("src","resources/images/right33.png");
							$(".btn-right li").eq(1).find("div").show();
						}
						if(_index == 2){
							$(".btn-right li").eq(0).find("img").attr("src","resources/images/right11.png");
							$(".btn-right li").eq(1).find("img").attr("src","resources/images/right22.png");
							$(".btn-right li").eq(2).children(":first").attr("src","resources/images/right3.png");
							$(".btn-right li").eq(2).find("div").show();
						}
						},function(){
							$(".btn-right li").eq(0).find("img").attr("src","resources/images/right11.png");
							$(".btn-right li").eq(1).find("img").attr("src","resources/images/right22.png");
							$(".btn-right li").eq(2).children(":first").attr("src","resources/images/right33.png");
							$(".btn-right li").eq(1).find("div").hide();
							$(".btn-right li").eq(2).find("div").hide();
						})
			
			})
			
			  function toIndex(){
			    	location.href="index.html"
			    }

										<!---   模拟开户   ------------->
	function simulationOpen(){
		var _name2 =	$("#rightName2").val();
		var _iphone2 =	$("#rightIphone2").val();
		if( _name2 == "") {
			alert("请输姓名！")
			return;
		}
		if( _iphone2 == "") {
			alert("请输手机号码！")
			return;
		}
		if( !/^[1][3,4,5,7,8][0-9]{9}$/.test(_iphone2)) {
			alert("请输入正确的手机号码！")
			return;
		}
		$.ajax({
			url: 'userInfo/add',
			type: 'post',
			data: {'system': 'gqb', 'name': _name2, 'mobile': _iphone2,channel: document.location.href,detail:'模拟开户'},
			success: function(data){
				if(data=='OK') {
					alert('您已成功模拟开户!')
				}
				
			},
			error: function(){
				alert('操作失败, 请稍后重试');
			}
		})
		}
		</script>
	</head>
	<body>
		<!--固定右侧---------------------->
			<div class="btn-right">
				<ul>
					<li><img src="resources/images/right11.png"></li>
					<li><img src="resources/images/right22.png"><div class="right-con right-iphone"><smt:dict code="company.contact.400" /></div></li>
					<li><img src="resources/images/right33.png"><div class="right-con right-code"><img src="resources/images/bottomCode.png"></div></li>
				</ul>
			</div>
			
			<div class="btn-right2">
				<!--div class="right2Con1">
					<input type="text" name="" id="rightName1" value="" placeholder="请输入您的姓名"/>
					<input type="text" name="" id="rightIphone1" value="" placeholder="请输入您的手机号"/>
					<button onclick="immediatelyOpen()">立即开户</button>
				</div-->
				<div class="right2Con2">
					<input type="text" name="" id="rightName2" value="" placeholder="请输入您的姓名"/>
					<input type="text" name="" id="rightIphone2" value="" placeholder="请输入您的手机号"/>
					<button onclick="simulationOpen()">立即开户</button>
				</div>
			</div>
			
			<div class="headercon">
				<header class="header container">
				<div class="logoImg"><img src="resources/images/logo.png"></div>
					<div class="headerList">
						<ul>
						<c:forEach var="menu1" items="${rootMenu.children}">
							<li <c:if test="${menu1.code eq selectedLevel1Menu.code}"> class="active" </c:if> ><a href="${menu1.url}">${menu1.name}</a></li>
						</c:forEach>
						<c:choose>
							<c:when test="${user ne null}">
								<li class="headerIphone"><img src="resources/images/login.png">欢迎您，${user.name}</li>
							</c:when>
							<c:otherwise>
								<li class="headerIphone"><img src="resources/images/login.png"><a href="login">登录</a>/<a href="register">注册</a></li>
							</c:otherwise>
						</c:choose>
						</ul>
					</div>
				</header>
			</div>
<!--header  END------------------------------------------------------->
			<div class="con1">
			</div>
			<div class="con2">
				<div class="con2Left">
					<h5>${selectedLevel1Menu.name}</h5> 
					<ul>
					<c:forEach var="menu2" items="${menuList}">
						<li <c:if test="${menu2.code eq selectedLevel2Menu.code}">class="active"</c:if> >
							<a href="${menu2.url}">${menu2.name}</a>
						</li>
					</c:forEach>
					</ul>
				</div>
				<div class="con2Right">
					<div class="p-tit"><span class="span-tit">资讯行情</span>
						<div class="accessPath">
							<span>首页 </span>
							<c:forEach varStatus="status" var="theMenu" items="${menuChain}">
								<c:if test="${status.index!=0}">
					            > <span><a href="${theMenu.url}<c:if test="${!theMenu.url.contains('curMenuId')}">?curMenuId=${theMenu.id}</c:if>">${theMenu.name}</a></span>
					            </c:if>
					        </c:forEach>
						</div>
					</div>
					<div class="con2Rightcon1">
						<ul class="informationContainer">
						<c:forEach var="info" items="${page.content}">
							<li><img src="${info.titleImage}">
							<p class="p-tit2"><a href="info/${info.id}.html">${info.title}</a></p>
							<p class="p-data2">${info.timeCreatedStr}</p>
							<p class="p-txt2">${info.abstraction}</p>
							</li>
						</c:forEach>
						</ul>
					</div>
					
					</div>
					<div class="clear"></div>
				</div>
			</div>

	<!--bottom------------------------------------------------------------>
		<div class="con6">
			<div class="con6tent">
				<div class="con6tent1">
					<img src="resources/images/bottomCode.png">
				</div>
				<div class="con6tent2">
					<p>联系方式：</p>
					<p><smt:dict code="company.contact.400" /></p>
					<p>客服QQ：<smt:dict code="company.contact.qq" /></p>
				</div>
				<div class="con6tent3">
					<p>
						<c:forEach var="menu1" items="${rootMenu.children}">
						<c:if test="${menu1.name ne '首页'}">
							<span onclick="document.location.href='${menu1.url}'">${menu1.name}</span>
						</c:if>
						</c:forEach>
					</p>
					<p>风险提示：保证金类交易时存在较大的亏损风险。这些产品不一定适合每一位投资者，<br>请确保您完全了解所涉及的风险。本站内容仅供参考，非操作建议，请您自行决策交易。</p>
				</div>
			</div>
			<p class="con6Bottom">版权所有 2017 股期宝投资 上海古玺资产管理有限公司</p>
		</div>
</html>
